//
//  DownManager.h
//  DownDemo
//
//  Created by 喂！ on 2018/11/7.
//  Copyright © 2018年 well. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBProjectDownloadStatus.h"
#import "LocalDownloadModel.h"
#import "DownloadOperation.h"
#import "FileTools.h"
#import "MainInterface.h"

@interface DownManager : NSObject

//在下载数组
@property(nonatomic,strong)NSMutableArray *downloadModelArr;
//下载队列
@property(nonatomic)NSOperationQueue *downloadQueue;


/**
 下载单例模式
 */
+(DownManager *)sharedInstance;

/**
 添加任务进入下载列表
 
 @param dic Key:ProjectId、ProjectName、Type、DownPath、NeedDeletePath、CurrentVersion
 */
-(void)addTaskToDownload:(NSMutableDictionary *)dic;


@end
